/*
 *
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: ConfigBean.java
 *   @Date: 11/29/18 3:21 PM
 *   @Author: chenjun
 *   @Copyright（C）: 2018 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 *
 */

package io.bhex.sdk.config.bean;

import java.util.List;

import io.bhex.baselib.network.response.BaseResponse;
import io.bhex.sdk.account.UserInfo;


public class ConfigBean extends BaseResponse {

    /**
     * orgId : 6001
     * kycCardType : [{"key":1,"value":"身份证件"},{"key":2,"value":"驾照"},{"key":3,"value":"护照"},{"key":5,"value":"其他"}]
     * country : [{"id":"1","nationalCode":"86","shortName":"CN","countryName":"中国","indexName":"zhongguo"},{"id":"2","nationalCode":"852","shortName":"HK","countryName":"中国香港","indexName":"zhongguoxianggang"},{"id":"3","nationalCode":"853","shortName":"MO","countryName":"中国澳门","indexName":"zhongguoaomen"},{"id":"4","nationalCode":"886","shortName":"TW","countryName":"中国台湾","indexName":"zhongguotaiwan"},{"id":"5","nationalCode":"61","shortName":"AU","countryName":"澳大利亚","indexName":"aodaliya"},{"id":"6","nationalCode":"1","shortName":"CA","countryName":"加拿大","indexName":"jianada"},{"id":"7","nationalCode":"33","shortName":"FR","countryName":"法国","indexName":"faguo"},{"id":"8","nationalCode":"49","shortName":"DE","countryName":"德国","indexName":"deguo"},{"id":"9","nationalCode":"55","shortName":"BR","countryName":"巴西","indexName":"baxi"},{"id":"10","nationalCode":"31","shortName":"NL","countryName":"荷兰","indexName":"helan"},{"id":"11","nationalCode":"81","shortName":"JP","countryName":"日本","indexName":"riben"},{"id":"12","nationalCode":"82","shortName":"KR","countryName":"韩国","indexName":"hanguo"},{"id":"13","nationalCode":"7","shortName":"RU","countryName":"俄罗斯","indexName":"eluosi"},{"id":"14","nationalCode":"65","shortName":"SG","countryName":"新加坡","indexName":"xinjiape"},{"id":"15","nationalCode":"90","shortName":"TR","countryName":"土耳其","indexName":"tuerqi"},{"id":"16","nationalCode":"84","shortName":"VN","countryName":"越南","indexName":"yuenan"},{"id":"17","nationalCode":"60","shortName":"MY","countryName":"马来西亚","indexName":"malaixiya"}]
     * quoteToken : [{"orgId":"6001","tokenId":"USDT","tokenName":"USDT","iconUrl":"https://tigers.oss-cn-qingdao.aliyuncs.com/token/USDT.svg","customOrder":1,"baseTokenSymbols":[],"quoteTokenSymbols":[{"orgId":"6001","exchangeId":"301","symbolId":"BTCUSDT","symbolName":"BTCUSDT","baseTokenId":"BTC","baseTokenName":"BTC","quoteTokenId":"USDT","quoteTokenName":"USDT"},{"orgId":"6001","exchangeId":"301","symbolId":"LTCUSDT","symbolName":"LTCUSDT","baseTokenId":"LTC","baseTokenName":"LTC","quoteTokenId":"USDT","quoteTokenName":"USDT"},{"orgId":"6001","exchangeId":"301","symbolId":"ETCUSDT","symbolName":"ETCUSDT","baseTokenId":"ETC","baseTokenName":"ETC","quoteTokenId":"USDT","quoteTokenName":"USDT"}]},{"orgId":"6001","tokenId":"BTC","tokenName":"BTC","iconUrl":"https://tigers.oss-cn-qingdao.aliyuncs.com/token/BTC.svg","customOrder":2,"baseTokenSymbols":[{"orgId":"6001","exchangeId":"301","symbolId":"BTCUSDT","symbolName":"BTCUSDT","baseTokenId":"BTC","baseTokenName":"BTC","quoteTokenId":"USDT","quoteTokenName":"USDT"}],"quoteTokenSymbols":[{"orgId":"6001","exchangeId":"301","symbolId":"ETHBTC","symbolName":"ETHBTC","baseTokenId":"ETH","baseTokenName":"ETH","quoteTokenId":"BTC","quoteTokenName":"BTC"}]},{"orgId":"6001","tokenId":"ETH","tokenName":"ETH","iconUrl":"https://tigers.oss-cn-qingdao.aliyuncs.com/token/ETH.svg","customOrder":3,"baseTokenSymbols":[{"orgId":"6001","exchangeId":"301","symbolId":"ETHBTC","symbolName":"ETHBTC","baseTokenId":"ETH","baseTokenName":"ETH","quoteTokenId":"BTC","quoteTokenName":"BTC"}],"quoteTokenSymbols":[{"orgId":"6001","exchangeId":"301","symbolId":"BHCETH","symbolName":"BHCETH","baseTokenId":"BHC","baseTokenName":"BHC","quoteTokenId":"ETH","quoteTokenName":"ETH"}]}]
     * token : [{"orgId":"6001","tokenId":"BTC","tokenName":"BTC","tokenFullName":"BitCoin","iconUrl":"https://tigers.oss-cn-qingdao.aliyuncs.com/token/BTC.svg","allowWithdraw":true,"allowDeposit":true,"baseTokenSymbols":[{"orgId":"6001","exchangeId":"301","symbolId":"BTCUSDT","symbolName":"BTCUSDT","baseTokenId":"BTC","baseTokenName":"BTC","quoteTokenId":"USDT","quoteTokenName":"USDT"}],"quoteTokenSymbols":[{"orgId":"6001","exchangeId":"301","symbolId":"ETHBTC","symbolName":"ETHBTC","baseTokenId":"ETH","baseTokenName":"ETH","quoteTokenId":"BTC","quoteTokenName":"BTC"}],"isEOS":false,"tokenType":"CHAIN_TOKEN"},{"orgId":"6001","tokenId":"ETH","tokenName":"ETH","tokenFullName":"Ethereum","iconUrl":"https://tigers.oss-cn-qingdao.aliyuncs.com/token/ETH.svg","allowWithdraw":true,"allowDeposit":true,"baseTokenSymbols":[{"orgId":"6001","exchangeId":"301","symbolId":"ETHBTC","symbolName":"ETHBTC","baseTokenId":"ETH","baseTokenName":"ETH","quoteTokenId":"BTC","quoteTokenName":"BTC"}],"quoteTokenSymbols":[{"orgId":"6001","exchangeId":"301","symbolId":"BHCETH","symbolName":"BHCETH","baseTokenId":"BHC","baseTokenName":"BHC","quoteTokenId":"ETH","quoteTokenName":"ETH"}],"isEOS":false,"tokenType":"CHAIN_TOKEN"},{"orgId":"6001","tokenId":"USDT","tokenName":"USDT","tokenFullName":"TetherUS","iconUrl":"https://tigers.oss-cn-qingdao.aliyuncs.com/token/USDT.svg","allowWithdraw":true,"allowDeposit":true,"baseTokenSymbols":[],"quoteTokenSymbols":[{"orgId":"6001","exchangeId":"301","symbolId":"BTCUSDT","symbolName":"BTCUSDT","baseTokenId":"BTC","baseTokenName":"BTC","quoteTokenId":"USDT","quoteTokenName":"USDT"},{"orgId":"6001","exchangeId":"301","symbolId":"LTCUSDT","symbolName":"LTCUSDT","baseTokenId":"LTC","baseTokenName":"LTC","quoteTokenId":"USDT","quoteTokenName":"USDT"},{"orgId":"6001","exchangeId":"301","symbolId":"ETCUSDT","symbolName":"ETCUSDT","baseTokenId":"ETC","baseTokenName":"ETC","quoteTokenId":"USDT","quoteTokenName":"USDT"}],"isEOS":false,"tokenType":"BTC_TOKEN"},{"orgId":"6001","tokenId":"BHC","tokenName":"BHC","tokenFullName":"BHEX Coin","iconUrl":"https://tigers.oss-cn-qingdao.aliyuncs.com/token/BHC.svg","allowWithdraw":true,"allowDeposit":true,"baseTokenSymbols":[{"orgId":"6001","exchangeId":"301","symbolId":"BHCETH","symbolName":"BHCETH","baseTokenId":"BHC","baseTokenName":"BHC","quoteTokenId":"ETH","quoteTokenName":"ETH"}],"quoteTokenSymbols":[],"isEOS":false,"tokenType":"ERC20_TOKEN"},{"orgId":"6001","tokenId":"LTC","tokenName":"LTC","tokenFullName":"Lite Coin","iconUrl":"https://tigers.oss-cn-qingdao.aliyuncs.com/token/LTC.svg","allowWithdraw":true,"allowDeposit":true,"baseTokenSymbols":[{"orgId":"6001","exchangeId":"301","symbolId":"LTCUSDT","symbolName":"LTCUSDT","baseTokenId":"LTC","baseTokenName":"LTC","quoteTokenId":"USDT","quoteTokenName":"USDT"}],"quoteTokenSymbols":[],"isEOS":false,"tokenType":"BTC_TOKEN"},{"orgId":"6001","tokenId":"ETC","tokenName":"ETC","tokenFullName":"ET Coin","iconUrl":"https://tigers.oss-cn-qingdao.aliyuncs.com/token/ETC.svg","allowWithdraw":true,"allowDeposit":true,"baseTokenSymbols":[{"orgId":"6001","exchangeId":"301","symbolId":"ETCUSDT","symbolName":"ETCUSDT","baseTokenId":"ETC","baseTokenName":"ETC","quoteTokenId":"USDT","quoteTokenName":"USDT"}],"quoteTokenSymbols":[],"isEOS":false,"tokenType":"CHAIN_TOKEN"},{"orgId":"6001","tokenId":"BCH","tokenName":"BCH","tokenFullName":"BCH","iconUrl":"https://tigers.oss-cn-qingdao.aliyuncs.com/token/BCH.svg","allowWithdraw":true,"allowDeposit":true,"baseTokenSymbols":[],"quoteTokenSymbols":[],"isEOS":false,"tokenType":"BTC_TOKEN"},{"orgId":"6001","tokenId":"IPC","tokenName":"IPC","tokenFullName":"IPC","iconUrl":"http://static.bhex.com/BHC.svg","allowWithdraw":true,"allowDeposit":true,"baseTokenSymbols":[],"quoteTokenSymbols":[],"isEOS":false,"tokenType":"CHAIN_TOKEN"},{"orgId":"6001","tokenId":"EOS","tokenName":"EOS","tokenFullName":"EOS","iconUrl":"http://static.bhex.com/BHC.svg","allowWithdraw":true,"allowDeposit":true,"baseTokenSymbols":[],"quoteTokenSymbols":[],"isEOS":true,"tokenType":"EOS_TOKEN"},{"orgId":"6001","tokenId":"BHIPC","tokenName":"BHIPC","tokenFullName":"BHIPC","iconUrl":"http://static.bhex.com/BHC.svg","allowWithdraw":true,"allowDeposit":true,"baseTokenSymbols":[],"quoteTokenSymbols":[],"isEOS":false,"tokenType":"CHAIN_TOKEN"},{"orgId":"6001","tokenId":"BHEOS","tokenName":"BHEOS","tokenFullName":"BHEOS","iconUrl":"http://static.bhex.com/BHC.svg","allowWithdraw":true,"allowDeposit":true,"baseTokenSymbols":[],"quoteTokenSymbols":[],"isEOS":true,"tokenType":"EOS_TOKEN"}]
     * symbol : [{"orgId":"6001","exchangeId":"301","symbolId":"BTCUSDT","symbolName":"BTCUSDT","baseTokenId":"BTC","baseTokenName":"BTC","quoteTokenId":"USDT","quoteTokenName":"USDT","basePrecision":"0.0001","quotePrecision":"0.01","minTradeQuantity":"0.0001","minTradeAmount":"1","minPricePrecision":"0.1","digitMerge":"0,0.1","canTrade":true},{"orgId":"6001","exchangeId":"301","symbolId":"ETHBTC","symbolName":"ETHBTC","baseTokenId":"ETH","baseTokenName":"ETH","quoteTokenId":"BTC","quoteTokenName":"BTC","basePrecision":"0.0001","quotePrecision":"0.000001","minTradeQuantity":"0.001","minTradeAmount":"0.0001","minPricePrecision":"0.000001","digitMerge":"0.001,0.0001,0.00001,0.000001","canTrade":true},{"orgId":"6001","exchangeId":"301","symbolId":"LTCUSDT","symbolName":"LTCUSDT","baseTokenId":"LTC","baseTokenName":"LTC","quoteTokenId":"USDT","quoteTokenName":"USDT","basePrecision":"0.0001","quotePrecision":"0.01","minTradeQuantity":"0.001","minTradeAmount":"1","minPricePrecision":"0.01","digitMerge":"0,0.1,0.01","canTrade":false},{"orgId":"6001","exchangeId":"301","symbolId":"ETCUSDT","symbolName":"ETCUSDT","baseTokenId":"ETC","baseTokenName":"ETC","quoteTokenId":"USDT","quoteTokenName":"USDT","basePrecision":"0.0001","quotePrecision":"0.01","minTradeQuantity":"0.01","minTradeAmount":"1","minPricePrecision":"0.01","digitMerge":"0,0.1,0.01","canTrade":true},{"orgId":"6001","exchangeId":"301","symbolId":"BHCETH","symbolName":"BHCETH","baseTokenId":"BHC","baseTokenName":"BHC","quoteTokenId":"ETH","quoteTokenName":"ETH","basePrecision":"0.01","quotePrecision":"0.000001","minTradeQuantity":"1","minTradeAmount":"0.001","minPricePrecision":"0.000001","digitMerge":"0.001,0.0001,0.00001,0.000001","canTrade":true}]
     */

    private int orgId;
    private List<KycCardTypeBean> kycCardType;
    private List<CountryBean> country;
    private List<QuoteTokenBean> quoteToken;
    private List<TokenBean> token;
    private List<SymbolBean> symbol;
    private FunctionsBean functions;

    public int getOrgId() {
        return orgId;
    }

    public void setOrgId(int orgId) {
        this.orgId = orgId;
    }

    public List<KycCardTypeBean> getKycCardType() {
        return kycCardType;
    }

    public void setKycCardType(List<KycCardTypeBean> kycCardType) {
        this.kycCardType = kycCardType;
    }

    public List<CountryBean> getCountry() {
        return country;
    }

    public void setCountry(List<CountryBean> country) {
        this.country = country;
    }

    public List<QuoteTokenBean> getQuoteToken() {
        return quoteToken;
    }

    public void setQuoteToken(List<QuoteTokenBean> quoteToken) {
        this.quoteToken = quoteToken;
    }

    public List<TokenBean> getToken() {
        return token;
    }

    public void setToken(List<TokenBean> token) {
        this.token = token;
    }

    public List<SymbolBean> getSymbol() {
        return symbol;
    }

    public void setSymbol(List<SymbolBean> symbol) {
        this.symbol = symbol;
    }

    public FunctionsBean getFunctions() {
        return functions;
    }

    public void setFunctions(FunctionsBean functions) {
        this.functions = functions;
    }

    public static class KycCardTypeBean {
        /**
         * key : 1
         * value : 身份证件
         */

        private int key;
        private String value;

        public int getKey() {
            return key;
        }

        public void setKey(int key) {
            this.key = key;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }

    public static class CountryBean {
        /**
         * id : 1
         * nationalCode : 86
         * shortName : CN
         * countryName : 中国
         * indexName : zhongguo
         */

        private String id;
        private String nationalCode;
        private String shortName;
        private String countryName;
        private String indexName;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getNationalCode() {
            return nationalCode;
        }

        public void setNationalCode(String nationalCode) {
            this.nationalCode = nationalCode;
        }

        public String getShortName() {
            return shortName;
        }

        public void setShortName(String shortName) {
            this.shortName = shortName;
        }

        public String getCountryName() {
            return countryName;
        }

        public void setCountryName(String countryName) {
            this.countryName = countryName;
        }

        public String getIndexName() {
            return indexName;
        }

        public void setIndexName(String indexName) {
            this.indexName = indexName;
        }
    }

    public static class QuoteTokenBean {
        /**
         * orgId : 6001
         * tokenId : USDT
         * tokenName : USDT
         * iconUrl : https://tigers.oss-cn-qingdao.aliyuncs.com/token/USDT.svg
         * customOrder : 1
         * baseTokenSymbols : []
         * quoteTokenSymbols : [{"orgId":"6001","exchangeId":"301","symbolId":"BTCUSDT","symbolName":"BTCUSDT","baseTokenId":"BTC","baseTokenName":"BTC","quoteTokenId":"USDT","quoteTokenName":"USDT"},{"orgId":"6001","exchangeId":"301","symbolId":"LTCUSDT","symbolName":"LTCUSDT","baseTokenId":"LTC","baseTokenName":"LTC","quoteTokenId":"USDT","quoteTokenName":"USDT"},{"orgId":"6001","exchangeId":"301","symbolId":"ETCUSDT","symbolName":"ETCUSDT","baseTokenId":"ETC","baseTokenName":"ETC","quoteTokenId":"USDT","quoteTokenName":"USDT"}]
         */

        private String orgId;
        private String tokenId;
        private String tokenName;
        private String iconUrl;
        private int customOrder;
        private List<?> baseTokenSymbols;
        private List<QuoteTokenSymbolsBean> quoteTokenSymbols;

        public String getOrgId() {
            return orgId;
        }

        public void setOrgId(String orgId) {
            this.orgId = orgId;
        }

        public String getTokenId() {
            return tokenId;
        }

        public void setTokenId(String tokenId) {
            this.tokenId = tokenId;
        }

        public String getTokenName() {
            return tokenName;
        }

        public void setTokenName(String tokenName) {
            this.tokenName = tokenName;
        }

        public String getIconUrl() {
            return iconUrl;
        }

        public void setIconUrl(String iconUrl) {
            this.iconUrl = iconUrl;
        }

        public int getCustomOrder() {
            return customOrder;
        }

        public void setCustomOrder(int customOrder) {
            this.customOrder = customOrder;
        }

        public List<?> getBaseTokenSymbols() {
            return baseTokenSymbols;
        }

        public void setBaseTokenSymbols(List<?> baseTokenSymbols) {
            this.baseTokenSymbols = baseTokenSymbols;
        }

        public List<QuoteTokenSymbolsBean> getQuoteTokenSymbols() {
            return quoteTokenSymbols;
        }

        public void setQuoteTokenSymbols(List<QuoteTokenSymbolsBean> quoteTokenSymbols) {
            this.quoteTokenSymbols = quoteTokenSymbols;
        }

        public static class QuoteTokenSymbolsBean {
            /**
             * orgId : 6001
             * exchangeId : 301
             * symbolId : BTCUSDT
             * symbolName : BTCUSDT
             * baseTokenId : BTC
             * baseTokenName : BTC
             * quoteTokenId : USDT
             * quoteTokenName : USDT
             */

            private String orgId;
            private String exchangeId;
            private String symbolId;
            private String symbolName;
            private String baseTokenId;
            private String baseTokenName;
            private String quoteTokenId;
            private String quoteTokenName;

            public String getOrgId() {
                return orgId;
            }

            public void setOrgId(String orgId) {
                this.orgId = orgId;
            }

            public String getExchangeId() {
                return exchangeId;
            }

            public void setExchangeId(String exchangeId) {
                this.exchangeId = exchangeId;
            }

            public String getSymbolId() {
                return symbolId;
            }

            public void setSymbolId(String symbolId) {
                this.symbolId = symbolId;
            }

            public String getSymbolName() {
                return symbolName;
            }

            public void setSymbolName(String symbolName) {
                this.symbolName = symbolName;
            }

            public String getBaseTokenId() {
                return baseTokenId;
            }

            public void setBaseTokenId(String baseTokenId) {
                this.baseTokenId = baseTokenId;
            }

            public String getBaseTokenName() {
                return baseTokenName;
            }

            public void setBaseTokenName(String baseTokenName) {
                this.baseTokenName = baseTokenName;
            }

            public String getQuoteTokenId() {
                return quoteTokenId;
            }

            public void setQuoteTokenId(String quoteTokenId) {
                this.quoteTokenId = quoteTokenId;
            }

            public String getQuoteTokenName() {
                return quoteTokenName;
            }

            public void setQuoteTokenName(String quoteTokenName) {
                this.quoteTokenName = quoteTokenName;
            }
        }
    }

    public static class TokenBean {
        /**
         * orgId : 6001
         * tokenId : BTC
         * tokenName : BTC
         * tokenFullName : BitCoin
         * iconUrl : https://tigers.oss-cn-qingdao.aliyuncs.com/token/BTC.svg
         * allowWithdraw : true
         * allowDeposit : true
         * baseTokenSymbols : [{"orgId":"6001","exchangeId":"301","symbolId":"BTCUSDT","symbolName":"BTCUSDT","baseTokenId":"BTC","baseTokenName":"BTC","quoteTokenId":"USDT","quoteTokenName":"USDT"}]
         * quoteTokenSymbols : [{"orgId":"6001","exchangeId":"301","symbolId":"ETHBTC","symbolName":"ETHBTC","baseTokenId":"ETH","baseTokenName":"ETH","quoteTokenId":"BTC","quoteTokenName":"BTC"}]
         * isEOS : false
         * tokenType : CHAIN_TOKEN
         */

        private String orgId;
        private String tokenId;
        private String tokenName;
        private String tokenFullName;
        private String iconUrl;
        private boolean allowWithdraw;
        private boolean allowDeposit;
        private boolean needAddressTag;
        private String tokenType;
        private List<BaseTokenSymbolsBean> baseTokenSymbols;
        private List<QuoteTokenSymbolsBeanX> quoteTokenSymbols;

        public String getOrgId() {
            return orgId;
        }

        public void setOrgId(String orgId) {
            this.orgId = orgId;
        }

        public String getTokenId() {
            return tokenId;
        }

        public void setTokenId(String tokenId) {
            this.tokenId = tokenId;
        }

        public String getTokenName() {
            return tokenName;
        }

        public void setTokenName(String tokenName) {
            this.tokenName = tokenName;
        }

        public String getTokenFullName() {
            return tokenFullName;
        }

        public void setTokenFullName(String tokenFullName) {
            this.tokenFullName = tokenFullName;
        }

        public String getIconUrl() {
            return iconUrl;
        }

        public void setIconUrl(String iconUrl) {
            this.iconUrl = iconUrl;
        }

        public boolean isAllowWithdraw() {
            if(UserInfo.getUserInfo() != null && UserInfo.getUserInfo().whiteConfig != null)
                return UserInfo.getUserInfo().whiteConfig.canWithdraw;
            return allowWithdraw;
        }

        public void setAllowWithdraw(boolean allowWithdraw) {
            this.allowWithdraw = allowWithdraw;
        }

        public boolean isAllowDeposit() {
            return allowDeposit;
        }

        public void setAllowDeposit(boolean allowDeposit) {
            this.allowDeposit = allowDeposit;
        }

        public boolean isNeedAddressTag() {
            return needAddressTag;
        }

        public void setNeedAddressTag(boolean needAddressTag) {
            this.needAddressTag = needAddressTag;
        }

        public String getTokenType() {
            return tokenType;
        }

        public void setTokenType(String tokenType) {
            this.tokenType = tokenType;
        }

        public List<BaseTokenSymbolsBean> getBaseTokenSymbols() {
            return baseTokenSymbols;
        }

        public void setBaseTokenSymbols(List<BaseTokenSymbolsBean> baseTokenSymbols) {
            this.baseTokenSymbols = baseTokenSymbols;
        }

        public List<QuoteTokenSymbolsBeanX> getQuoteTokenSymbols() {
            return quoteTokenSymbols;
        }

        public void setQuoteTokenSymbols(List<QuoteTokenSymbolsBeanX> quoteTokenSymbols) {
            this.quoteTokenSymbols = quoteTokenSymbols;
        }

        public static class BaseTokenSymbolsBean {
            /**
             * orgId : 6001
             * exchangeId : 301
             * symbolId : BTCUSDT
             * symbolName : BTCUSDT
             * baseTokenId : BTC
             * baseTokenName : BTC
             * quoteTokenId : USDT
             * quoteTokenName : USDT
             */

            private String orgId;
            private String exchangeId;
            private String symbolId;
            private String symbolName;
            private String baseTokenId;
            private String baseTokenName;
            private String quoteTokenId;
            private String quoteTokenName;

            public String getOrgId() {
                return orgId;
            }

            public void setOrgId(String orgId) {
                this.orgId = orgId;
            }

            public String getExchangeId() {
                return exchangeId;
            }

            public void setExchangeId(String exchangeId) {
                this.exchangeId = exchangeId;
            }

            public String getSymbolId() {
                return symbolId;
            }

            public void setSymbolId(String symbolId) {
                this.symbolId = symbolId;
            }

            public String getSymbolName() {
                return symbolName;
            }

            public void setSymbolName(String symbolName) {
                this.symbolName = symbolName;
            }

            public String getBaseTokenId() {
                return baseTokenId;
            }

            public void setBaseTokenId(String baseTokenId) {
                this.baseTokenId = baseTokenId;
            }

            public String getBaseTokenName() {
                return baseTokenName;
            }

            public void setBaseTokenName(String baseTokenName) {
                this.baseTokenName = baseTokenName;
            }

            public String getQuoteTokenId() {
                return quoteTokenId;
            }

            public void setQuoteTokenId(String quoteTokenId) {
                this.quoteTokenId = quoteTokenId;
            }

            public String getQuoteTokenName() {
                return quoteTokenName;
            }

            public void setQuoteTokenName(String quoteTokenName) {
                this.quoteTokenName = quoteTokenName;
            }
        }

        public static class QuoteTokenSymbolsBeanX {
            /**
             * orgId : 6001
             * exchangeId : 301
             * symbolId : ETHBTC
             * symbolName : ETHBTC
             * baseTokenId : ETH
             * baseTokenName : ETH
             * quoteTokenId : BTC
             * quoteTokenName : BTC
             */

            private String orgId;
            private String exchangeId;
            private String symbolId;
            private String symbolName;
            private String baseTokenId;
            private String baseTokenName;
            private String quoteTokenId;
            private String quoteTokenName;

            public String getOrgId() {
                return orgId;
            }

            public void setOrgId(String orgId) {
                this.orgId = orgId;
            }

            public String getExchangeId() {
                return exchangeId;
            }

            public void setExchangeId(String exchangeId) {
                this.exchangeId = exchangeId;
            }

            public String getSymbolId() {
                return symbolId;
            }

            public void setSymbolId(String symbolId) {
                this.symbolId = symbolId;
            }

            public String getSymbolName() {
                return symbolName;
            }

            public void setSymbolName(String symbolName) {
                this.symbolName = symbolName;
            }

            public String getBaseTokenId() {
                return baseTokenId;
            }

            public void setBaseTokenId(String baseTokenId) {
                this.baseTokenId = baseTokenId;
            }

            public String getBaseTokenName() {
                return baseTokenName;
            }

            public void setBaseTokenName(String baseTokenName) {
                this.baseTokenName = baseTokenName;
            }

            public String getQuoteTokenId() {
                return quoteTokenId;
            }

            public void setQuoteTokenId(String quoteTokenId) {
                this.quoteTokenId = quoteTokenId;
            }

            public String getQuoteTokenName() {
                return quoteTokenName;
            }

            public void setQuoteTokenName(String quoteTokenName) {
                this.quoteTokenName = quoteTokenName;
            }
        }
    }

    public static class SymbolBean {
        /**
         * orgId : 6001
         * exchangeId : 301
         * symbolId : BTCUSDT
         * symbolName : BTCUSDT
         * baseTokenId : BTC
         * baseTokenName : BTC
         * quoteTokenId : USDT
         * quoteTokenName : USDT
         * basePrecision : 0.0001
         * quotePrecision : 0.01
         * minTradeQuantity : 0.0001
         * minTradeAmount : 1
         * minPricePrecision : 0.1
         * digitMerge : 0,0.1
         * canTrade : true
         */

        private String orgId;
        private String exchangeId;
        private String symbolId;
        private String symbolName;
        private String baseTokenId;
        private String baseTokenName;
        private String quoteTokenId;
        private String quoteTokenName;
        private String basePrecision;
        private String quotePrecision;
        private String minTradeQuantity;
        private String minTradeAmount;
        private String minPricePrecision;
        private String digitMerge;
        private boolean canTrade;

        public String getOrgId() {
            return orgId;
        }

        public void setOrgId(String orgId) {
            this.orgId = orgId;
        }

        public String getExchangeId() {
            return exchangeId;
        }

        public void setExchangeId(String exchangeId) {
            this.exchangeId = exchangeId;
        }

        public String getSymbolId() {
            return symbolId;
        }

        public void setSymbolId(String symbolId) {
            this.symbolId = symbolId;
        }

        public String getSymbolName() {
            return symbolName;
        }

        public void setSymbolName(String symbolName) {
            this.symbolName = symbolName;
        }

        public String getBaseTokenId() {
            return baseTokenId;
        }

        public void setBaseTokenId(String baseTokenId) {
            this.baseTokenId = baseTokenId;
        }

        public String getBaseTokenName() {
            return baseTokenName;
        }

        public void setBaseTokenName(String baseTokenName) {
            this.baseTokenName = baseTokenName;
        }

        public String getQuoteTokenId() {
            return quoteTokenId;
        }

        public void setQuoteTokenId(String quoteTokenId) {
            this.quoteTokenId = quoteTokenId;
        }

        public String getQuoteTokenName() {
            return quoteTokenName;
        }

        public void setQuoteTokenName(String quoteTokenName) {
            this.quoteTokenName = quoteTokenName;
        }

        public String getBasePrecision() {
            return basePrecision;
        }

        public void setBasePrecision(String basePrecision) {
            this.basePrecision = basePrecision;
        }

        public String getQuotePrecision() {
            return quotePrecision;
        }

        public void setQuotePrecision(String quotePrecision) {
            this.quotePrecision = quotePrecision;
        }

        public String getMinTradeQuantity() {
            return minTradeQuantity;
        }

        public void setMinTradeQuantity(String minTradeQuantity) {
            this.minTradeQuantity = minTradeQuantity;
        }

        public String getMinTradeAmount() {
            return minTradeAmount;
        }

        public void setMinTradeAmount(String minTradeAmount) {
            this.minTradeAmount = minTradeAmount;
        }

        public String getMinPricePrecision() {
            return minPricePrecision;
        }

        public void setMinPricePrecision(String minPricePrecision) {
            this.minPricePrecision = minPricePrecision;
        }

        public String getDigitMerge() {
            return digitMerge;
        }

        public void setDigitMerge(String digitMerge) {
            this.digitMerge = digitMerge;
        }

        public boolean isCanTrade() {
            return canTrade;
        }

        public void setCanTrade(boolean canTrade) {
            this.canTrade = canTrade;
        }
    }


    public static class FunctionsBean {

        /**
         * guild : false
         * userLevel : true
         * explore : false
         * coupon : false
         * bonus : true
         * pointcard : false
         * exchange : true
         * invite : true
         * futures : true
         * otc : false
         * option : true
         */

        private boolean guild;
        private boolean userLevel;
        private boolean explore;
        private boolean coupon;
        private boolean bonus;
        private boolean pointcard;
        private boolean exchange;
        private boolean invite;
        private boolean futures;
        private boolean otc;
        private boolean option;

        public boolean isGuild() {
            return guild;
        }

        public void setGuild(boolean guild) {
            this.guild = guild;
        }

        public boolean isUserLevel() {
            return userLevel;
        }

        public void setUserLevel(boolean userLevel) {
            this.userLevel = userLevel;
        }

        public boolean isExplore() {
            return explore;
        }

        public void setExplore(boolean explore) {
            this.explore = explore;
        }

        public boolean isCoupon() {
            return coupon;
        }

        public void setCoupon(boolean coupon) {
            this.coupon = coupon;
        }

        public boolean isBonus() {
            return bonus;
        }

        public void setBonus(boolean bonus) {
            this.bonus = bonus;
        }

        public boolean isPointcard() {
            return pointcard;
        }

        public void setPointcard(boolean pointcard) {
            this.pointcard = pointcard;
        }

        public boolean isExchange() {
            return exchange;
        }

        public void setExchange(boolean exchange) {
            this.exchange = exchange;
        }

        public boolean isInvite() {
            return invite;
        }

        public void setInvite(boolean invite) {
            this.invite = invite;
        }

        public boolean isFutures() {
            return futures;
        }

        public void setFutures(boolean futures) {
            this.futures = futures;
        }

        public boolean isOtc() {
            return otc;
        }

        public void setOtc(boolean otc) {
            this.otc = otc;
        }

        public boolean isOption() {
            return option;
        }

        public void setOption(boolean option) {
            this.option = option;
        }
    }
}
